17efdd561a36ca1552fc4659afca2f687761b773,community/embedded-examples/src/main/java/org/neo4j/examples/Neo4jShell.java,Neo4jShell,startLocalShell,#,73

Before Change



    private static void startLocalShell() throws Exception
    {
        graphDb = (GraphDatabaseAPI) new GraphDatabaseFactory().newEmbeddedDatabase( DB_PATH );
        createExampleGraph();
        ShellServer shellServer = new GraphDatabaseShellServer( graphDb );
        ShellLobby.newClient( shellServer ).grabPrompt();

After Change



    private static void startLocalShell() throws Exception
    {
        graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( DB_PATH );
        createExampleGraph();
        ShellServer shellServer = new GraphDatabaseShellServer( (org.neo4j.kernel.GraphDatabaseAPI) graphDb );
        ShellLobby.newClient( shellServer ).grabPrompt();
        shellServer.shutdown();
    }